import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import actions from './actions'
import { state,mutations,getters } from './mutations'

import cate from './modules/cate'
import specs from './modules/specs'
import goods from './modules/goods'
import member from './modules/member'
import banner from './modules/banner'
import seck from './modules/seck'

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules:{
    cate,
    specs,
    goods,
    member,
    banner,
    seck
  }
})
